package com.amos.knife4j;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;

import java.math.BigDecimal;

/**
 * @ClassName : DemoEntity
 * @Description :
 * @Author : mlb
 * @Date: 2021-08-02 15:51
 */
@ApiModel("个人信息")
public class DemoEntity {
    @ApiModelProperty("主键")
    private int id;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("是否通过")
    private boolean isPass;
    @ApiModelProperty("金额")
    private BigDecimal amount;
    @ApiModelProperty("金额")
    private Double doub;
    @ApiModelProperty("金额")
    private Long lon;
    public DemoEntity() {
        this.id = 1;
        this.name = "张三";
        this.isPass = true;
        this.amount = new BigDecimal(100.22);
    }

    public boolean isPass() {
        return isPass;
    }

    public void setPass(boolean pass) {
        isPass = pass;
    }

    public Double getDoub() {
        return doub;
    }

    public void setDoub(Double doub) {
        this.doub = doub;
    }

    public Long getLon() {
        return lon;
    }

    public void setLon(Long lon) {
        this.lon = lon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean getIsPass() {
        return isPass;
    }

    public void setIsPass(boolean pass) {
        isPass = pass;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}
